home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 2 / Amiga Tools 2.iso / tools / packer / pack / packit / install_packit next >
Text File  |  1995-03-09  |  885b  |  52 lines

  1. ; Installation script for PackIt
  2.  
  3. (transcript "Installing PackIt...")
  4.  
  5. (copylib
  6.         (prompt "Install PowerPacker library.")
  7.         (help @copylib-help)
  8.         (source "LIBS/powerpacker.library")
  9.         (dest "libs:")
  10.         (confirm)
  11. )
  12.  
  13. (set name
  14.         (askdir
  15.                 (prompt "Install PackIt where?")
  16.                 (help @askdir-help)
  17.                 (default "C:")
  18.         )
  19. )
  20.  
  21. (set prefs
  22.         (askdir
  23.                 (prompt "Install PackItPrefs where?")
  24.                 (help @askdir-help)
  25.                 (default "SYS:Prefs")
  26.         )
  27. )
  28.  
  29. (set cputype (+(database "CPU")) )
  30.  
  31. ( if (>  cputype 68020)
  32.     (set packit "PackIt030")
  33.     (set packit "PackIt")
  34. )
  35.  
  36. (copyfiles
  37.         (source packit)
  38.         (dest name)
  39.         (newname "PackIt")
  40. )
  41.  
  42. (copyfiles
  43.         (source packitprefs)
  44.         (dest prefs)
  45.         (infos)
  46. )
  47.  
  48. (set @default-dest name)
  49.  
  50. (exit)
  51.  
  52.